package cn.tedu._03vehicle_test.mapper;

import cn.tedu._03vehicle_test.pojo.dto.VehicleAddParam;
import cn.tedu._03vehicle_test.pojo.dto.VehicleListQuery;
import cn.tedu._03vehicle_test.pojo.entity.Vehicle;
import cn.tedu._03vehicle_test.pojo.vo.VehicleListVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface VehicleMapper {
    int addVehicle(Vehicle vehicle);
    List<VehicleListVO> Listselect(VehicleListQuery vehicleListQuery) ;

    int deleteVehicle(@Param("id") Long id,
                      @Param("userId") Long userId);
}
